SetReplaceObjectQ SetReplaceObjectQ yields True for SetReplace objects and False otherwise: Out[] = True In[] := SetReplaceObjectQ["just a string"] Out[] = False