def is_creation_allowed(portal_type):
allowed_portal_types = config.ALLOWED_PORTAL_TYPES_TO_CREATE<EOL>return portal_type in allowed_portal_types<EOL>
Checks if it is allowed to create the portal type

    :param portal_type: The portal type requested
    :type portal_type: string
    :returns: True if it is allowed to create this object
    :rtype: bool