string.utils to check empty
refactor metadata client