<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_fw_present(self, fw_id):
 """Returns if firewall index by ID is present in dictionary. """

        if self.fw_id is None or self.fw_id != fw_id:
            return False
        else:
            return True