public function isAttached( Base $entity )
    {
        return false !== array_search( $entity, $this->instancesPersisted, true ) ||
               false !== array_search( $entity, $this->instancesUnpersisted, true );
    }
public function isAttached( Base $entity )
    {
        return false !== array_search( $entity, $this->instancesPersisted, true ) ||
               false !== array_search( $entity, $this->instancesUnpersisted, true );
    }
public function isAttached ( Base $ entity ) { return false !== array_search ( $ entity , $ this -> instancesPersisted , true ) || false !== array_search ( $ entity , $ this -> instancesUnpersisted , true ) ; }
Is in multiton store.
@return bool
Is in multiton store .