I need to check if two things is true to decide the class. I have been trying to find a solution for this because i believe this should be a pretty common problem. Maybe i'm just searching for the wrong things. I need to check if two things is true to decide