polynomial question



Hello,
 Let p be a polynomial in k variables of degree n.
For 1 <= m <=n is there a a built-in maxima routine which will give the 
homogeneous part of p of order m?

Of course, such a think can be written, but I wanted to know if it 
already exists.

TIA,
 -sen