import re


def represents_float(text):
    """
        This function return True if the given param (string or float) represents a float

        :Example:
        >>> represents_float("1.0")
        True
        >>> represents_float("1")
        False
        >>> represents_float("a")
        False
        >>> represents_float(".0")
        False
        >>> represents_float("0.")
        False
        >>> represents_float("0.000001")
        True
        >>> represents_float("00000.000001")
        True
        >>> represents_float("0000a0.000001")
        False
    """
    if isinstance(text, float):
        return True
    elif text is None:
        return False
    elif isinstance(text, str):
        if len(text) < 3:
            return False
        text = text.strip()
        return re.search("^[0-9]{1,}\.[0-9]{1,}$", text) is not None
    else:
        return False