Is there an expl3 equivalent for a \providecommand?

I could do 

\cs_if_free:NT \mycommand {\cs_set:Npn \mycommand {...}}

but I don't find it very elegant to have to type \mycommand twice. 


-- 
Ulrike Fischer