class Sass::Selector::Pseudo

def invisible?

placeholder.
Whether or not this selector should be hidden due to containing a
def invisible?
  # :not() is a special case—if you eliminate all the placeholders from
  # it, it should match anything.
  name != 'not' && @selector && @selector.members.all? {|s| s.invisible?}
end