<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def input_format(self, content_type):
 """Returns the set input_format handler for the given content_type"""

        return getattr(self, '_input_format', {}).get(content_type, hug.defaults.input_format.get(content_type, None))