kernel/private/rest/classes/controllers/rest_controller.php
protected function hasResponseGroup( $name )
    {
        return in_array( $name, $this->defaultResponsegroups ) ||
            (
                isset( $this->request->variables['ResponseGroups'] ) &&
                in_array( $name, $this->request->variables['ResponseGroups'] )
            );
    }
protected function hasResponseGroup( $name )
    {
        return in_array( $name, $this->defaultResponsegroups ) ||
            (
                isset( $this->request->variables['ResponseGroups'] ) &&
                in_array( $name, $this->request->variables['ResponseGroups'] )
            );
    }
protected function hasResponseGroup ( $ name ) { return in_array ( $ name , $ this -> defaultResponsegroups ) || ( isset ( $ this -> request -> variables [ 'ResponseGroups' ] ) && in_array ( $ name , $ this -> request -> variables [ 'ResponseGroups' ] ) ) ; }
Checks if a response group has been provided in the requested REST URI

@param string $name Response group name

@return bool
Checks if a response group has been provided in the requested REST URI