def METHOD_NAME(self, value):
    logging.getLogger("HWR").debug("Checking the move limits")
    if self.get_limits():
        if value >= self.en_lims[0] and value <= self.en_lims[1]:
            logging.getLogger("HWR").info("Limits ok")
            return True
        logging.getLogger("user_level_log").info("Requested value is out of limits")
    return False