'Check if the `video` can be processed.
The `video` is considered invalid if not an instance of :attr:`video_types` or if the :attr:`required_hash` is
not present in :attr:`~subliminal.video.Video.hashes` attribute of the `video`.
:param video: the video to check.
:type video: :class:`~subliminal.video.Video`
:return: `True` if the `video` is valid, `False` otherwise.
:rtype: bool'

@classmethod
def check(cls, video):

    if (not isinstance(video, cls.video_types)):
        return False
    if ((cls.required_hash is not None) and (cls.required_hash not in video.hashes)):
        return False
    return True
