Issue #3470203 by mstrelan, smustgrave: Add (more) bool return typehints to protected test helper methods