Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason

Parameters
name type description
session_id session valid session reference
self VM reference to the object
op enum vm_operations proposed operation
Errors
name arguments description