def _check_input(self, X):
return isinstance(X, tuple)<EOL>
Check input format.

:param X: The input data of the model.
:type X: (candidates, features) pair
:return: True if valid, otherwise False.
:rtype: bool