code: def is_build_linked(source, pkg):
          
          for line in source.split("\n"):
              if re.search(r"(api|compile)\s+project\(['\"]:{}['\"]\)".format(pkg),
                           line):
                  return True
          return False
docs: Returns true if the "compile project(':<project>')"
              line exists exists in the file