Edwards' condition for quasitraces on C*-algebras