Implement can_put

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>