custom assert method in python