Implement canexecute in CreateConnectionCommand