Newscoop\Entity\Resource::exists PHP Method

exists() public method

Check if the resource exists
public exists ( ) : boolean
return boolean True always for now
    public function exists()
    {
        return !empty($this->path) && !empty($this->id);
    }

Usage Example

 public function exists()
 {
     $this->__load();
     return parent::exists();
 }