def validate_placeholder_uid(layout, placeholder_uid):
    """Validate the placeholder.

    :param string layout:
    :param string placeholder_uid:
    :return bool:
    """
    return placeholder_uid in layout.placeholder_uids
