@staticmethod
def _is_enabled(spec):
    """
        Determines if a spec is enabled.

        :param dict spec: Specification to check
        :return: If the spec is enabled
        :rtype: bool
        """
    if 'enabled' in spec:
        return bool(spec['enabled'])
    else:
        return True
