def find_sources_file_dir(dir = @relative_path_from_project.dirname)
      return nil if is_outside_project?
      file = File.join(@project.root, dir, "sources.rb")
      if dir.root? or dir.to_s == "."
        return nil
      elsif File.exists?(file)
        return dir
      else
        return find_sources_file_dir(dir.parent)
      end
    end
def find_sources_file_dir(dir = @relative_path_from_project.dirname)
      return nil if is_outside_project?
      file = File.join(@project.root, dir, "sources.rb")
      if dir.root? or dir.to_s == "."
        return nil
      elsif File.exists?(file)
        return dir
      else
        return find_sources_file_dir(dir.parent)
      end
    end
def within_expected_folder?
      rel_design_path_list = @relative_path_from_project.to_s.split('/')
      return nil if rel_design_path_list.length < 3
      str = [rel_design_path_list.first(2)].join('/')
      STANDARD_LIBRARY_FOLDERS_LIST.include? str
    end
Function that looks for a sources.rb file within the project