moved and renamed check_modified method to comparable.py 

and added check modified parameter to diff function