function inline-policy --argument document
    if test -z "$document"
        stderr "usage: inline-policy <document>"
        return (false)
    end

    echo $document | grep -q '\.json$'
end

Add function to check if a policy is an inline policy
Add function to check if a policy is an inline policy

colstrom/piranha,colstrom/shellops-aws