private function isToManyRelation(array $association)
    {
        if ($this->isOrmRelation($association)) {
            return ($association['type'] & self::ORM_TO_MANY_BITMASK) === $association['type'];
        } elseif ($this->isOdmRelation($association)) {
            return $association['reference'] && $association['type'] === self::ODM_TO_MANY_VALUE;
        }

        return false;
    }
private function isToManyRelation(array $association)
    {
        if ($this->isOrmRelation($association)) {
            return ($association['type'] & self::ORM_TO_MANY_BITMASK) === $association['type'];
        } elseif ($this->isOdmRelation($association)) {
            return $association['reference'] && $association['type'] === self::ODM_TO_MANY_VALUE;
        }

        return false;
    }
@param array $association

@return bool