def get_attributevalue_from_directchildnode (parentnode, childname, attribute):
    """ Takes a parent node element as input
    Searches for the first child with the provided name under the parent node
    If child is present returns the value for the requested child attribute (the returns None if
    the child does not have that attributte)
    Returns False if child is not found under the parent
    """
    childnode = parentnode.find(childname)
    if childnode is not None:
        value = childnode.get(attribute)
        return value
    else: return False