def _sdoc(docstr):
    """Small helper to get the first line of a docstring

    Mostly to help reduce verbosity in the code
    """
    if docstr is not None:
        split_txt = docstr.strip().split("\n")
        if split_txt:
            return split_txt[0]
    return ""