def is_sphinx_markup(docstring):
 return (('`' in docstring) or ('::' in docstring))

def is_sphinx_markup ( docstring ) : return ( ( '`' in docstring ) or ( '::' in docstring ) )
returns whether a string contains sphinx-style rest markup .