Master Material / Material Function (small issue)

What is the mask coming from? Without seeing the rest of the whole graph that determines the mask it will be pretty difficult for people to help you.