public function isEmpty()
    {
        return empty($this->fields) && empty($this->relations) && empty($this->indexes);
    }
public function isEmpty()
    {
        return empty($this->fields) && empty($this->relations) && empty($this->indexes);
    }
public function isEmpty ( ) { return empty ( $ this -> fields ) && empty ( $ this -> relations ) && empty ( $ this -> indexes ) ; }
Checks if the resource is empty.

@return bool
Checks if the resource is empty .