def is_img_id_exists(img_id):
main_rel_path = get_relative_path_from_img_id(img_id)<EOL>main_path = media_path(main_rel_path)<EOL>return os.path.isfile(main_path)<EOL>
Checks if img_id has real file on filesystem.