Added more methods to class PyObj

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>