import inspect
class Methods:
def f_0(self):
print('is instance method')
@staticmethod
def f_1(arg):
print(f'is static method with arg={arg}')
>> inspect.isfunction(Methods.f_0)
True
>> inspect.isfunction(Methods.f_1)
True