add builtin: getattr method
add builtin: hasattr method