Reply to Lutger,
Another possible hack: if used from a different module, you could use the 'compiles' trait with allMembers to find out if a member can be accessed.
you could define a template in another module that does the check and returns the result.