def package_file_exists(package, relative_path):
 if (relative_path is None):
  return False
 package_dir = _get_package_dir(package)
 if os.path.exists(package_dir):
  result = _regular_file_exists(package, relative_path)
  if result:
   return result
 if (int(sublime.version()) >= 3000):
  return _zip_file_exists(package, relative_path)
 return False

def package_file_exists ( package , relative_path ) : if ( relative_path is None ) : return False package_dir = _get_package_dir ( package ) if os . path . exists ( package_dir ) : result = _regular_file_exists ( package , relative_path ) if result : return result if ( int ( sublime . version ( ) ) >= 3000 ) : return _zip_file_exists ( package , relative_path ) return False
determines if a file exists inside of the package specified .