def is_fw_present(self, fw_id):
if self.fw_id is None or self.fw_id != fw_id:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Returns if firewall index by ID is present in dictionary.