I would put that comment in the docstring instead, saying what the method is actually doing (which is more than checking :)... and i'd actually call it `filter_input_data`, rather than `check_input_data`...