def is_numeric(s):
    """ Checks if a string contains a numeric value.

    :param s: The string to check
    :type s: str
    :rtype: bool
    """
    try:
        float(s)
        return True
    except ValueError:
        return False