@staticmethod
def is_app_linked(source, pkg, java_package):
    """ Returns true if the compile project line exists exists in the file

        """
    for line in source.split('\n'):
        if java_package in line:
            return True
    return False
