combining 3 codes

If I included the two servos (that move the sticks to collect the trash), would "turn right" and "turn left" be considered good state functions for the servos?