private function isParentModuleAssociation(Association $association) : bool
    {
        return in_array($this->getModelByAssociation($association), $this->getParentModules());
    }
private function isParentModuleAssociation(Association $association) : bool
    {
        return in_array($this->getModelByAssociation($association), $this->getParentModules());
    }
private function isParentModuleAssociation ( Association $ association ) : bool { return in_array ( $ this -> getModelByAssociation ( $ association ) , $ this -> getParentModules ( ) ) ; }
Parent module assocation validator.

@param \Cake\ORM\Association $association Association instance
@return bool
Parent module assocation validator .