Querying a SIP party

Is there an Asterisk CMD that will test whether a SIP party can accept SIP connections?

I know you can do this using a SIP peer and qualify=yes but I have my SIP parties database driven and would need to test using a CMD.