how to check if using spring local profile code example Example: spring environment get active profiles @ActiveProfiles("dev")