check for labels to be present in the repo before filtering.