<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_from_category(self, category, name):
 """ Removes given action from given category. :param category: Category to remove the action from. :type category: unicode :param name: Action name. :type name: unicode :return: Method success. :rtype: bool """


        category = self.get_category(category)
        if not isinstance(category, dict):
            return False

        del (category[name])
        LOGGER.debug("> Removed '{0}' action from '{1}' category!".format(category, name))
        return True