Behat\RestTestingContext\BaseContext::exists PHP Method

exists() public static method

Check if specified field name exists or not.
public static exists ( string $name ) : boolean
$name string Field name.
return boolean
    public static function exists($name)
    {
        return array_key_exists($name, self::$data);
    }