If the pajamas have white piping accents around the pocket and shorts
return pajamas ;return pocket of  #1 ;return shorts of  #1 ;return piping accents ;return #4 that are  white ;return if  #5 are  around #2 ;return if  #5 are  around #3 ;return if  both  #6 and #7 are  true
['select', 'project', 'project', 'select', 'filter', 'boolean', 'boolean', 'boolean']