Completed validate mask function