import re


def is_sphinx_markup(docstring):
    """Returns whether a string contains Sphinx-style reST markup."""
    return bool(re.search(r'\n\s*:param ', docstring)
                or re.search(r'\n\s*:return: ', docstring)
                or re.search(r'\n\s*:raise ', docstring))