def _already_resized_on_flickr(self,fn,pid,_megapixels):
logger.debug("<STR_LIT>"%(fn))<EOL>width_flickr,height_flickr=self._getphoto_originalsize(pid)<EOL>new_width,new_height=pusher_utils.resize_compute_width_height(fn,_megapixels)<EOL>if width_flickr==new_width and height_flickr==new_height:<EOL><INDENT>return True<EOL><DEDENT>elif not new_width:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Checks if image file (fn) with photo_id (pid) has already
        been resized on flickr. If so, returns True