def test_is_method():
 assert (not hug.introspect.is_method(function_with_kwargs))
 assert hug.introspect.is_method(Object().my_method)

def test_is_method ( ) : assert ( not hug . introspect . is_method ( function_with_kwargs ) ) assert hug . introspect . is_method ( Object ( ) . my_method )
test to ensure hugs introspection can correctly identify the difference between a function and method .