Yes, there is a basis in this. There are correlations between the shape of a person's face, and their personality type.
The practice of using such correlations is known in the law enforcement community as racial profiling.
While the exact scientific definition of race remains unclear and arbitrary, it is clear that there are strong differences between nose-shapes and different races for example.
Further, whether by nature, nurture or both, there are correlations between race and personality. For example, in Table 5 of this paper, a comparison of personality features ("Openness to Experience", etc.) is made for African-American and Caucasian participants.
From this, people have the ability to predict a person's race, and from that predict a person's temperament, thus saving them the effort by allowing people to be judged by the shape of their nose, rather than the content of their character.
Community Wiki, because my ulterior goal here is to explain why the original question is poorly formed.