Perform sanity checks on the workfile of the given release

        This is inteded to be used in a action unit.

        :param release: the release with the workfile and sanity checks
        :type release: :class:`Release`
        :returns: the action status of the sanity checks
        :rtype: :class:`ActionStatus`
        :raises: None

def sanity_check(self, release):
        """Perform sanity checks on the workfile of the given release

        This is inteded to be used in a action unit.

        :param release: the release with the workfile and sanity checks
        :type release: :class:`Release`
        :returns: the action status of the sanity checks
        :rtype: :class:`ActionStatus`
        :raises: None
        """
        log.info("Performing sanity checks.")
        return execute_actioncollection(release._workfile, actioncollection=release._checks, confirm=True)