refactored PropConVisitor. Using the same containsThis() check for all
detect methods