def name(random=random, *args, **kwargs):
    """
    Return someone's name

    >>> mock_random.seed(0)
    >>> name(random=mock_random)
    'carl poopbritches'
    >>> mock_random.seed(7)
    >>> name(random=mock_random, capitalize=True)
    'Duke Testy Wonderful'

    """
    if random.choice([True, True, True, False]):
        return firstname(random=random) + " " + lastname(random=random)
    elif random.choice([True, False]):
        return title(random=random) + " " + firstname(random=random) + " " + lastname(random=random)
    else:
        return title(random=random) + " " + lastname(random=random)
Return someone's name

    >>> mock_random.seed(0)
    >>> name(random=mock_random)
    'carl poopbritches'
    >>> mock_random.seed(7)
    >>> name(random=mock_random, capitalize=True)
    'Duke Testy Wonderful'