Checks if a given value is present in the cleaned code.
value
bool hasReference(String value) => (cleanedCode ?? '').contains(value);