check if composer has path field