Initial availability checks for performing define out-of-line code
action, which is a refactoring that will help users move function/method
definitions from headers to implementation files.
Proposed implementation only checks whether we have an interesting selection,
namely function name or full function definition/body.
nit: looks like we also a similar version in DefineInline? would be nice if we could share the implementation. I don't have a good idea where to put it, maybe add a FIXME?