changes all method save and checkvalidity to boolean function

Signed-off-by: abrahamks