def active(self):
        """ Returns if task is active.
            """
        if not os.path.isfile(self._paths['active_file']):
            return False
        return self._loaded
Returns if task is active.