public function is($condition, $arguments = [])
    {
        if (is_array($arguments)) {
            return call_user_func_array($this->{$condition}, $arguments);
        }

        return call_user_func($this->{$condition}, $arguments);
    }
public function is($condition, $arguments = [])
    {
        if (is_array($arguments)) {
            return call_user_func_array($this->{$condition}, $arguments);
        }

        return call_user_func($this->{$condition}, $arguments);
    }
public function is ( $ condition , $ arguments = [ ] ) { if ( is_array ( $ arguments ) ) { return call_user_func_array ( $ this -> { $ condition } , $ arguments ) ; } return call_user_func ( $ this -> { $ condition } , $ arguments ) ; }
Checks if passed condition is positive.

@param  string  $condition
@param  array   $arguments

@return bool
Checks if passed condition is positive .