/**
 * Whether or not an offset exists.  This method is executed when using isset() or empty() on
 * objects implementing ArrayAccess.
 *
 * @param   mixed  $offset  An offset to check for.
 *
 * @return  boolean
 *
 * @see     ArrayAccess::offsetExists()
 * @since   3.1.4
 */
#[\ReturnTypeWillChange]
public function offsetExists($offset)
{
    return isset($this->entries[$offset]);
}