added isValid method in WPYAbstractCardField