def _is_indirect(member, doc):
 d = (member in doc)
 e = ('indirect doctest' in doc)
 if ((not d) and (not e)):
  return True
 else:
  return False

def _is_indirect ( member , doc ) : d = ( member in doc ) e = ( 'indirect doctest' in doc ) if ( ( not d ) and ( not e ) ) : return True else : return False
given string repr of doc and member checks if the member contains indirect documentation .