Record components are implicitly static when nested (i.e. when the parent isn't a compilation unit). https://openjdk.java.net/jeps/359#Restrictions-on-records
Return
True if the record declaration is nested, otherwise use the default method implementation.