isSame() public method

The equality is done using the resource path.
public isSame ( Resource $other ) : boolean
$other Resource The resource to compare with.
return boolean True if the resources are considered eqaul, false otherwise.
 public function isSame(\Newscoop\Entity\Resource $other)
 {
     $this->__load();
     return parent::isSame($other);
 }