public boolean isValidPosterSize ( String posterSize ) { if ( StringUtils . isBlank ( posterSize ) || posterSizes . isEmpty ( ) ) { return false ; } return posterSizes . contains ( posterSize ) ; }
Check that the poster size is valid