requiretype (pypi): Decorator that allows you to specify the valid types of the parameters in a function or method.
Keywords: requiretype