common/models/base/ModelMapper.php
public function isActiveMapping( $parentId, $parentType ) {

		return $this->active && $this->parentId == $parentId && $this->parentType == $parentType;
	}
public function isActiveMapping( $parentId, $parentType ) {

		return $this->active && $this->parentId == $parentId && $this->parentType == $parentType;
	}
public function isActiveMapping ( $ parentId , $ parentType ) { return $ this -> active && $ this -> parentId == $ parentId && $ this -> parentType == $ parentType ; }
Check whether mapping is active using given parent id and type.

@param integer $parentId
@param string $parentType
@return boolean
Check whether mapping is active using given parent id and type .